package com.richpencil.modules.weixin.domain;

public enum SysEnum {

    Was(1,""),Vote(2,""),Viewer(4,"");
    public Integer fsysid;
    public String  url;
    private SysEnum (Integer fsysid,String url){

        this.fsysid=fsysid;
        this.url=url;
    }
    public static SysEnum findOne(Integer value)
    {
        for(SysEnum status : SysEnum.values()){
            if(value==status.fsysid){
                return status;
            }
        }
        return null;
    }


}
